package cn.itcast.zt.leetcode.element;

import java.io.Serializable;

public class ListNode implements Serializable {
    private static final long serialVersionUID = 7616191226901833379L;
    public int val;
    public ListNode next = null ;

    public ListNode() {

    }

    public ListNode(int val) {
        this.val = val ;
    }

    public ListNode(int val, ListNode next) {
        this.val = val ;
        this.next = next ;
    }
}
